Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added hugging face, gpt and audio blocks #183

Merged
merged 2 commits into from
Aug 9, 2024

Conversation

amansingh0330
Copy link
Member

  • Added view-audios block to the zetaforge
  • Added gpt-storyteller block to the zetaforge
  • Added hf-image-classification block to the zetaforge
  • Added image-classifier block to the zetaforge

- Added view-audios block to the zetaforge
- Added gpt-storyteller block to the zetaforge
- Added hf-image-classification block to the zetaforge
- Added image-classifier block to the zetaforge
Copy link

cla-assistant bot commented Aug 2, 2024

CLA assistant check
All committers have signed the CLA.

@zah-tane
Copy link
Contributor

zah-tane commented Aug 2, 2024

LGTM 👍

@meet-rocking
Copy link
Member

audio-player, Image classifier, hugging-face classification blocks are not working from core.

reason: name miss-match.

  1. audio-player is looking for block name: "frontend\core\blocks\audio-player"
  2. image classifier is looking for block-name "frontend\core\blocks\hf-image-classification-inference"

which are not the same folder name in frontend\core\blocks

[13:10:41.301] ERROR (19252) <file:///C:/Users/MEET/zetaforge/frontend/server/middleware.ts:13:12>: Server returned an error err: { "type": "Error", "message": "ENOENT: no such file or directory, lstat 'C:\\Users\\MEET\\zetaforge\\frontend\\core\\blocks\\hf-image-classification-inference'", "stack": Error: ENOENT: no such file or directory, lstat 'C:\Users\MEET\zetaforge\frontend\core\blocks\hf-image-classification-inference' "errno": -4058, "code": "ENOENT", "syscall": "lstat", "path": "C:\\Users\\MEET\\zetaforge\\frontend\\core\\blocks\\hf-image-classification-inference"

if you load the same block using load-block it will work, but if you drag the block from core it will fail.

can you please run your branch in dev mode and see if you can open the block from core.

@zah-tane
Copy link
Contributor

zah-tane commented Aug 7, 2024

@meet-rocking Thanks for the review; I renamed the files. @amansingh0330 Can you test these blocks once on your end? If they run correctly now, we can merge these blocks.

Copy link
Member

@meet-rocking meet-rocking left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me.

@amansingh0330 amansingh0330 merged commit d25ac3b into main Aug 9, 2024
6 of 8 checks passed
@amansingh0330 amansingh0330 deleted the feature/hugging_face_and_gpt_blocks branch August 9, 2024 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants